package com.seckill.Model.DO;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @author 不鄢
 */
@Data
@TableName("user")
public class User {
    @TableId
    private Long id;

    @TableField("nickname")
    private String nickName;

    private String password;

    private String salt;

    private String head;

    @TableField("register_date")
    private Date registerDate;
    @TableField("last_login_date")
    private Date lastLoginDate;
    @TableField("login_count")
    private Integer loginCount;
}
